package bean;

import java.io.Serializable;

public class User implements Serializable{
	private static final long serialVersionUID = 1L;
	private int uId;
	private String uName;
	private int uIphone;
	private String uPwd;
	private int uAdmin;
	
	public User() {
		super();
	}
	public User(int uId, String uName, int uIphone, String uPwd, int uAdmin) {
		super();
		this.uId = uId;
		this.uName = uName;
		this.uIphone = uIphone;
		this.uPwd = uPwd;
		this.uAdmin = uAdmin;
	}
	public int getuId() {
		return uId;
	}
	public void setuId(int uId) {
		this.uId = uId;
	}
	public String getuName() {
		return uName;
	}
	public void setuName(String uName) {
		this.uName = uName;
	}
	public int getuIphone() {
		return uIphone;
	}
	public void setuIphone(int uIphone) {
		this.uIphone = uIphone;
	}
	public String getuPwd() {
		return uPwd;
	}
	public void setuPwd(String uPwd) {
		this.uPwd = uPwd;
	}
	public int getuAdmin() {
		return uAdmin;
	}
	public void setuAdmin(int uAdmin) {
		this.uAdmin = uAdmin;
	}
	
	@Override
	public String toString() {
		return "user [uId=" + uId + ", uName=" + uName + ", uIphone=" + uIphone
				+ ", uPwd=" + uPwd + ", uAdmin=" + uAdmin + "]";
	}
	
}
